package cn.sptpc.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface ActivityService {

    /**
     * 分页获取活动
     * @param request
     * @return
     */
    String queryActivity(HttpServletRequest request);

    /**
     * 上传文件
     * @param request
     * @return
     */
    String fileUpload(HttpServletRequest request);

    /**
     * 添加活动
     * @param request
     * @return
     */
    String insertActivity(HttpServletRequest request);

    /**
     * 活动信息
     * @param request
     * @return
     */
    String activityInfo(HttpServletRequest request);

    /**
     * 模糊查询用户
     * @param request
     * @return
     */
    String selectActivity(HttpServletRequest request);

    /**
     *删除一个活动
     * @param request
     * @return
     */
    String deleteActivity(HttpServletRequest request);

    /**
     * 获取图片
     * @param request
     * @param response
     * @return
     */
    String getImg(HttpServletRequest request, HttpServletResponse response);

    /**
     * 通过审核
     * @param request
     * @return
     */
    String pass(HttpServletRequest request);

    /**
     * 拒绝审核
     * @param request
     * @return
     */
    String refused(HttpServletRequest request);
}